﻿using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;

namespace HEFramework
{
    [AsyncMethodBuilder(typeof(HEAsyncVoidMethodBuilder))]
    internal struct HEVoid : ICriticalNotifyCompletion
    {
        [DebuggerHidden]
        public void Coroutine()
        {
        }

        [DebuggerHidden] public bool IsCompleted => true;

        [DebuggerHidden]
        public void OnCompleted(Action _continuation)
        {
        }

        [DebuggerHidden]
        public void UnsafeOnCompleted(Action _continuation)
        {
        }
    }
}